project(type_trais_examples)
include_directories(../common)
message("C++ Standard: ${CMAKE_CXX_STANDARD}")
add_executable(type_traits01  type_traits01.cpp)
add_executable(type_traits02  type_traits02.cpp)

add_executable(type_traits02_modern  type_traits02_modern.cpp)
set_target_properties(type_traits02_modern PROPERTIES
    CXX_STANDARD 17
    CXX_STANDARD_REQUIRED ON
)
set(CMAKE_CXX_STANDARD 17)
add_executable(type_traits03  type_traits03.cpp)

add_executable(type_traits04  type_traits04.cpp)

add_executable(type_traits05_decltype  type_traits05_decltype.cpp)
set_target_properties(type_traits05_decltype PROPERTIES
    CXX_STANDARD 17
    CXX_STANDARD_REQUIRED ON
)
add_executable(type_traits06_enableif  type_traits06_enableif.cpp)
